Skip to content

Instantly share code, notes, and snippets.

@m-bartlett
m-bartlett / download-onedrive-file.sh
Created December 29, 2025 06:24
Direct download a file from OneDrive from a share link using shell
#!/usr/bin/env bash
set -o errexit -o nounset
error() {
echo "$1" >&2
exit 1
}
read-json() {
local -A "j=($(sed -E 's/[{}]//g; s/"([^"]+)":"([^"]+)"/\[\1\]="\2"/g; s/,/ /g; s/\$/$$/g'))"
@pythoninthegrass
pythoninthegrass / tinygpu-setup.md
Last active October 27, 2026 15:36
TinyGPU Setup on macOS for eGPU

TinyGPU Setup on macOS

Prerequisites

  • Python >= 3.11 (tinygrad 0.12.0 requires it)
  • uv (or pip)
  • numpy

1. Clone tinygrad and install it

@zats
zats / REMAP_M1_KEYS.MD
Last active October 27, 2026 15:34
Apple M1 MacBook Do Not Disturb Key remapping

Following is a sample of LaungAgent that remaps do not disturb key to Siri (I am using Type to Siri)

This is a lightweight solution not relying on external apps.

Setting up

  1. Create ~/Library/LaunchAgents/com.local.KeyRemapping.plist
  2. Edit it to have following content
@thefuxia
thefuxia / anonymous-comments-per-post.php
Last active October 27, 2026 15:28
Anonymous comments per post
<?php
/**
* Plugin Name: Anonymous comments per post
* Plugin URI: http://wordpress.stackexchange.com/q/73788/73
* Version: 2012.11.24
* Author: Fuxia Scholz
* Author URI: https://fuxia.me
* Licence: MIT
* License URI: http://opensource.org/licenses/MIT
*/
@mcandre
mcandre / elecraft-kx3-cheatsheet.md
Last active October 27, 2026 15:27
Elecraft KX3 Cheatsheet

Elecraft KX3 Cheatsheet

The KX3 transceiver is designed for HF amateur band operation. The KX3 natively supports 160m - 6m.

An optional 2m accessory can extend the band support to 2m, though the installation of that accessory is a more intensive, electronics hobbyist task.

WARNINGS

As with all radios, do not transmit when the antenna is disconnected. Avoid touching the antenna or feed line when transmitting. Power down the radio and disconnect the feed line when making antenna adjustments.

@dominikmartn
dominikmartn / black-october-mac-check.md
Last active October 27, 2026 15:26
Black October: paste into Claude Code or Codex to check your Mac. Checks first, asks before every fix. As of 2026-10-23.

Black October: check your Mac with your coding agent

This now lives in a repo, PRs welcome: https://github.com/dominikmartn/black-october-check

As of 2026-10-23. For people who run AI coding agents (Claude Code, Codex, and similar) on their Mac with full shell access.

How to use it: paste this file into your agent and say: run the checks, report, then ask me before every fix.

Lines marked "What we saw" come from two Macs (macOS 26.6.2 and 27.0.1) on Oct 22 and 23. Everything else comes from the linked sources. Versions change daily, so check them against the sources.

@jeremylongshore
jeremylongshore / 0-cad-dxf-agent-one-pager-and-operator-audit.md
Last active October 27, 2026 15:24
IntentCAD — Drawing Intelligence Platform (v0.12.0)

IntentCAD v0.12.0

Drawing Intelligence Platform for AEC professionals.

Upload a DXF, PDF, or DWG — describe what you need in plain English, and get structured edits, compliance reports, quantity takeoffs, health assessments, RFIs, and drawing summaries — all without the AI ever touching your original file.

CI License: MIT

Links: GitHub · Web App · Docs

@AKCodez
AKCodez / Secret-Graveyard.md
Last active October 27, 2026 15:24
Secret Graveyard - GitHub dorks for AI API keys, tokens, secrets & database connection strings. 60 providers + 8 database families.

☠ SECRET GRAVEYARD

GitHub dorks for AI API keys, access tokens & database connection strings

60 providers + 8 database families. Expanded GitHub search dorks.

Providers: 60 Search: GitHub Code Format: Expanded

@supermarsx
supermarsx / curated-list-android-ksu-lsposed-module.md
Created January 18, 2026 17:36
Curated list of Essential Root Modules

🧩 Curated List of Essential Android Root Modules

A clean, opinionated, power‑user‑grade list of KernelSU / Magisk / Zygisk / LSPosed modules. Think: stability first, stealth where needed, quality‑of‑life everywhere. Emojis included. Whistles enabled. 🚀


🧠 KernelSU / Core Root Stack

🛡️ KernelSU